//
//  MCGetDividendSettlementModel.h
//  TLYL
//
//  Created by MC on 2017/11/22.
//  Copyright © 2017年 TLYL01. All rights reserved.
//

#import <Foundation/Foundation.h>
//简要描述：
//
//获取用户分红结算展示数据（新制度）
//请求URL：
//
///web-api/api/v4/get_bonus_settlement_new
@interface MCGetDividendSettlementModel : NSObject

@property(nonatomic,strong) void(^callBackSuccessBlock)(id manager);
@property(nonatomic,strong) void(^callBackFailedBlock)(id manager,NSString *errorCode);
- (void)refreashDataAndShow;

- (instancetype)initWithDic:(NSDictionary *)dic;

@end

@interface MCGetDividendContractListModel : NSObject

@property(nonatomic,strong) NSString * Expenditure;//消费额
@property(nonatomic,strong) NSString * LossAmount;//亏损额
@property(nonatomic,strong) NSString * ActivePeopleNum;//活跃人数
@property(nonatomic,strong) NSString * DividendRatio;// 分红比例（界面需乘以100，按%显示）




@end

@interface MCGetBonusPreviewModelsModel : NSObject

@property(nonatomic,strong) NSString * TotalBets;//投注总额
@property(nonatomic,strong) NSString * GrossProfit;//盈利总额
@property(nonatomic,strong) NSString * ActivePeopleNum;//活跃人数
@property(nonatomic,strong) NSString * DividendRatio;//分红比例（界面需乘以100，按%显示）
@property(nonatomic,strong) NSString * DeservedDividend;//应得分红


@end

@interface MCGetDividendSettlementDataModel : NSObject

@property(nonatomic,strong) NSString * DividendCycle;//本次分红周期
@property(nonatomic,strong) NSArray * GetDividendContractList;//下级已签约分红数据
@property(nonatomic,strong) MCGetBonusPreviewModelsModel * GetBonusPreviewModels;//下级分红预览实体

@end


/*
"data":{
    "DividendCycle":"20170929_20171012",
    "GetDividendContractList":[
                               {
                                   "Expenditure":10,
                                   "LossAmount":0,
                                   "ActivePeopleNum":0,
                                   "DividendRatio":0.1
                               },
                               {
                                   "Expenditure":100,
                                   "LossAmount":0,
                                   "ActivePeopleNum":3,
                                   "DividendRatio":0.303
                               }
                               ],
    "GetBonusPreviewModels":{
        "TotalBets":10736.02,
        "GrossProfit":-8303.31,
        "ActivePeopleNum":1,
        "DividendRatio":0.1,
        "DeservedDividend":-830.33
    }
}

*/
























